﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="hotpro.aspx.cs" Inherits="WebSite.cn.hotpro" %>

<%@ Register Src="head.ascx" TagName="head" TagPrefix="uc1" %>
<%@ Register Src="category.ascx" TagName="category" TagPrefix="uc2" %>
<%@ Register Src="bottom.ascx" TagName="bottom" TagPrefix="uc3" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>

<%@ Register src="../Controls/leftHotGoods.ascx" tagname="leftHotGoods" tagprefix="uc4" %>

<%@ Register src="../Controls/leftRecommGoods.ascx" tagname="leftRecommGoods" tagprefix="uc5" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title><%=WebSite.info.info1("", "shoptitle")%></title>
    <meta name="Description" content="<%=WebSite.info.info1("","shopcontent")%>" /> 
    <meta name="Keywords" content="<%=WebSite.info.info1("","shopkey")%>" />



</head>
<body>

 <form id="form1" runat="server">
 	<uc1:head ID="head_1" runat="server" />

    <center>
  
     <div class="page_navigater">
			<p><a href="/cn/index.aspx">首页</a>><%= NavigaterName%></p>
	  </div>
   <table width="1028px">
   <tr>
   <td style="vertical-align:top;">


  <div class="w1190">

<div class="barTitle pl10"><%= LeftTitleName%></div>
<div class="navBarCon mb10" id="navBarConIndex">

<% Response.Write(GetLeftMenuHtml()); %>

</div>
</div>

 <uc4:leftHotGoods ID="leftHotGoods1" runat="server" />

   </td>
   <td style="width:20px"></td>
     <td style="vertical-align:top;  float:right; ">
   
       
         
         <uc5:leftRecommGoods ID="leftRecommGoods1" runat="server" />
          
      

<uc2:category ID="category_1" runat="server" />
    <table style=" float:left; width:100%; margin-top:20px;">
    <tr>
     <td colspan="2">
     <div  class="search_bar">
         <div>
               <%  Response.Write(GetBuilderOutPageHeaderHtml()); %>
         </div>
         <div  class="search_right" style="float:right;">
                   关健字：<asp:TextBox ID="txtKeywords" runat="server" Width="80px"  ></asp:TextBox>   
              价格：
              <input name="txtPointsFrom" runat="server" class="text" type="text" id="txtPointsFrom" onkeyup="this.value=this.value.replace(/\D/g,'')" />
              -   <input name="txtPointsTo" runat="server" class="text" type="text" id="txtPointsTo" onkeyup="this.value=this.value.replace(/\D/g,'')" />
              <asp:Button ID="btnSearch" runat="server"  CssClass="text" Text="搜索" onclick="btnSearch_Click" />
         </div>
       </div>
     </td>
    </tr>

      <tr>
      <td colspan="2">
         
                   <div class="product">             
             <%= sProductHtml.ToString() %>
             </div>   
              <script src="/js/jquery.tooltip.js" type="text/javascript"></script>
      </td>
      </tr>
      <tr>
       <td colspan="2"  style="height:60px;" >
       
            <webdiyer:aspnetpager id="AspNetPager1" Width="90%" runat="server" 
                PageSize="40" horizontalalign="right" onpagechanged="AspNetPager1_PageChanged" 
                 ShowPageIndexBox="Always" PageIndexBoxType="DropDownList" TextBeforePageIndexBox="转到: " 
         CurrentPageIndex="19" FirstPageText="首页" LastPageText="尾页" PrevPageText="上一页" NextPageText="下一页" >
        </webdiyer:aspnetpager>
       </td>   
      </tr>
      
      </table>

      

   </td>
   </tr>
   </table>
   </center>
      <uc3:bottom ID="bottom_1" runat="server"   />
   </form>


</body>
</html>



     <script>


         $.suning || ($.suning = {});
         $.suning.productThird = {};
         $PT = $.suning.productThird;

         $PT.sibOpera = function (c, h, b, e, f) {
             $("#level").val(f);
             filters = $("#historyFilters").find("tr");
             if (filters && filters.length != 0) {
                 matchHistoryFilters(filters, f);
                 $("#resetFilter").show()
             }
             if (f == 3) {
                 $(".rFilter").show()
             }
             var d = $("#" + c).find("dl");
             var a = d.length;
             if (!f) {
                 if (a > 11) {
                     $("#allCategor").show();
                     g()
                 }
             }
             function g() {
                 for (var i = 10; i < a - 1; i++) {
                     d.eq(i).hide()
                 }
             }
             $("#allCategor").toggle(function () {
                 $("#" + c).find("dl").show();
                 $(this).find("b").addClass("up")
             },
    function () {
        g()
    });
             $("#" + c).find(h).click(function () {
                 $(this).parent().addClass("foc").siblings().removeClass("foc");
                 $(this).addClass("foc").parent().siblings().find("dt").removeClass("foc");
                 $(this).siblings().addClass("foc").parent().siblings().find("dd").removeClass("foc");

             });

         };


         /* FILE BEGIN jsInit.js */
         $(document).ready(function () {
             if (typeof (param) != "undefined") {


                 if (param.dirBean_level == 3 || param.dirBean_level == 2) {
                     $PT.sibOpera("navBarConIndex", "dt", "dd", param.categoryId, param.dirBean_level)
                 } else {
                     $PT.sibOpera("navBarCon", "dt", "dd")
                 }
             }
         });

         var param = { "dirBean_level": "2", "numFound": "1192"};

</script>


